/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.risk.transfer.bean.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.hopes.boss.common.entity.BaseEntity;
import com.hopes.boss.common.entity.BaseLogicEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 风险数据对接日志
 *
 * @author pig
 * @date 2024-02-01 20:17:10
 */
@Data
@TableName("risk_transfer_log")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "风险数据对接日志")
public class RiskTransferLogEntity extends BaseLogicEntity {

    private static final long serialVersionUID = 1L;

 
	/**
	* id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="id")
    private Long id;

	/**
	* 批次
	*/
    @Schema(description="批次")
    private String batchId;

	/**
	* 请求类型
	*/
    @Schema(description="请求类型")
    private Integer requestType;

	/**
	* 请求时间
	*/
    @Schema(description="请求时间")
    private LocalDateTime requestTime;

	/**
	* 处理状态
	*/
    @Schema(description="处理状态")
    private Integer status;

	/**
	* 批次总条数
	*/
    @Schema(description="批次总条数")
    private Integer totalCount;

	/**
	* 批次错误条数
	*/
    @Schema(description="批次错误条数")
    private Integer errorCount;

	/**
	* 错误id列表
	*/
    @Schema(description="错误id列表")
    private String errorId;
 
	/**
	* orgId
	*/
    @Schema(description="orgId")
    private Long orgId;

}